//定义组件
define(function (require, exports, module) {

    var sTpl = require('components/card/index.html');
    var css = require('components/card/index.css');

    var myMixin = require('modules/mixins.js');

    var vueComponent = Vue.extend({
        template: sTpl,
        mixins: [myMixin],
        data: function () {
            return {
                show: true
            }
        },
        methods: {

        }
    });

    Vue.component('m-card', vueComponent); //都全局注册 同时exports
    module.exports = vueComponent;
});